const {extend, getRouter} = require('../../utils/router.js')
const app = getApp()
Component({
  properties: {},
  router: {
    parent: 'index',
    name:'home',
    index: 0
  },
  data: {
    isIpx: app.globalData.isIpx
  },
  attached(){
    console.log('home')
  },
  methods: {
    toShopCar(){
      this.triggerEvent('toshopCar')
    },
    // onPageScroll (e) {
    //
    //   console.log(e)
    // },
    onReachBottom (e) {
      wx.showToast({
        title: '触底了',
        icon:"none"

      })
    }
  },


})
